package net.aiion.weave.spi.messaging;

/**
 * This interface may but not must be implemented optionally by message types to specify a message recipient's binding
 * name dynamically at runtime. An alternative approach where the message's receiver is known statically (i.e. at
 * compile time) is to use the {@link net.aiion.weave.spi.messaging.annotations.Recipient} annotation at the message's type.
 * 
 * @see net.aiion.weave.spi.messaging.annotations.Recipient
 */
public interface Message
{
    String getRecipient();
}
